package com.mrx.commons.utils;

import java.io.ByteArrayOutputStream;
import java.io.PrintStream;

/**
 * @author Mr.X
 * @since 2023-12-09 下午 12:36:12
 */
public class StringPrinter extends PrintStream {
    public StringPrinter() {
        super(new ByteArrayOutputStream());
    }

    @Override
    public String toString() {
        return out.toString();
    }
}
